#app {
  .ant-custom {
    .ant-btn,
    .ant-tag {
      line-height: 1.35em;
      padding: 1px 0.5em;
      &.xs {
        font-size: 10px;
      }
      &.sm {
        font-size: 11px;
      }
      &.df {
        font-size: 12px;
      }
    }

    .ant-divider {
      &.ant-divider-horizontal {
        &.xs {
          margin: 6px 0;
        }
        &.sm {
          margin: 12px 0;
        }
        &.df {
          margin: 16px 0;
        }
      }
      &.ant-divider-vertical {
        &.xs {
          margin: 0 3px;
        }
        &.sm {
          margin: 0 5px;
        }
        &.df {
          margin: 0 8px;
        }
      }
    }

    .ant-form-item {
      line-height: 36px;
      .ant-form-item-label {
        line-height: 36px;
      }

      &.custom {
        display: flex;
        flex-direction: row;
        align-items: center;
        line-height: 36px;

        &.margin {
          margin-bottom: 5px;
          &.xs {
            margin-bottom: 0;
          }
          &.sm {
            margin-bottom: 10px;
          }
          &.lg {
            margin-bottom: 25px;
          }
        }

        .ant-form-item-label {
          line-height: 36px;
        }
      }
    }
  }
}

.underline-input.ant-input-affix-wrapper {
  input.ant-input {
    border-radius: 0px;
    border-width: 0;
    border-bottom-width: 1px;
    &:focus,
    &:hover {
      border-right-width: 0 !important;
      box-shadow: none;
    }
    &:focus {
      border-bottom: 1px solid #2929ff;
    }
  }
  .ant-input-suffix {
    visibility: hidden;
  }
  &:hover {
    .ant-input-suffix {
      visibility: visible;
    }
  }

  .el-input,
  .el-textarea {
    input.el-input__inner,
    textarea.el-textarea__inner {
      &[readonly='readonly'] {
        // border: none;
        background-color: #f2f5f9;
        cursor: default;
      }
    }
  }

  .input-wrapper {
    position: relative;
    span.suffix {
      position: absolute;
      right: 10px;
      top: 0px;
      color: lightslategray;
      transition: right 250ms;
    }
    .el-input__count {
      line-height: 28px;
      bottom: 1px;
    }

    .el-input,
    .el-textarea {
      input.el-input__inner,
      textarea.el-textarea__inner {
        padding-right: 60px;
        // padding-left: 10px;
        resize: none;
        border: none;
        border-radius: 0px;
        border-bottom: 1px solid #d4d6e1;
        overflow: hidden;
        background-color: transparent;

        &:focus {
          border-bottom: 1px solid #8282ff;
        }

        &[readonly='readonly'] {
          border: none;
          background-color: #f2f5f9;
          cursor: default;
        }
      }
      .el-input--suffix {
        span.el-input__suffix {
          right: 0px;
        }
      }
      &.suffix:hover {
        span.suffix {
          right: 35px;
        }
      }
    }
  }

  p {
    margin: 0px;
    margin-block-start: 0px;
    margin-block-end: 0px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
  }
}
